package com.tsd.system.service;

import com.tsd.system.SystemSetting;
import com.tsd.system.vo.GlobalSetting;

/**
 * @ClassName: SystemSettingService
 * @Description: TODO
 * @Author: Hillpool
 * @Date: 2022/02/06 20:43
 * @Version: 1.0
 */
public interface SystemSettingService {
    /**
     * 获取系统管理配置
     *
     * @return
     * @throws Exception
     */
    SystemSetting getSystemSetting() throws Exception;

    /**
     * 清除系统管理配置的缓存
     */
    void clearSystemSettingCache();

    /**
     * 获取全局配置
     *
     * @return
     * @throws Exception
     */
    GlobalSetting getGlobalSetting() throws Exception;

    /**
     * 清除全局配置缓存
     *
     * @return
     * @throws Exception
     */
    void clearGlobalSettingCache();
}
